package com.leadingsoft.pwxk.converter;

import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.TableResultConverter;
import com.leadingsoft.pwxk.dto.AuditPublicInfoDto;
import com.leadingsoft.pwxk.model.AuditPublicInfo;
/**
 * 
 * @author ysh
 *
 */
@Component
public class AuditPublicInfoTableConverter implements TableResultConverter<AuditPublicInfo,AuditPublicInfoDto>{

	@Override
	public AuditPublicInfoDto toTableResultDto(AuditPublicInfo model) {
		AuditPublicInfoDto auditPerformReportDto = new AuditPublicInfoDto();
		auditPerformReportDto.setDataid(model.getDataid());
		auditPerformReportDto.setId(model.getId());
		auditPerformReportDto.setOpencontent(model.getOpencontent());
		auditPerformReportDto.setOpentime(model.getOpentime());
		auditPerformReportDto.setOpenways(model.getOpenways());
		auditPerformReportDto.setOthercontent(model.getOpencontent());
		return auditPerformReportDto;
	}

}
